package com.onenine.app.utils;

/**
 * 创建时间：2018/6/6 0006 11:38
 * 创建人：fly
 * 功能描述：数据类型
 */
public interface DataType {

    //登录类型0手机1微信2QQ
    int PHONE_LOGIN = 1;
    int WEIXIN_LOGIN = 2;
    int QQ_LOGIN = 3;

    //消息通知类型
    int CONNECT_NOTIFY_MSG = 0;
    //普通消息
    int COMMON_NOTIFY_MSG = CONNECT_NOTIFY_MSG + 1;
    //新朋友打招呼
    int GREET_NOTIFY_MSG = COMMON_NOTIFY_MSG + 1;

    //添加好友
    int FRIEND_SENT = 0;
    int FRIEND_APPLY = 1;
    int FRIEND_ALLOW = 2;
    int FRIEND_REFUSE = 3;

    //文章类型
    int POST_TOPIC = 1;
    int POST_DYNAMIC = 2;
    int POST_ASK = 3;

    //帖子点赞类型
    int PRAISE_TOPIC = 1;
    int PRAISE_DYNAMIC = 2;
    int PRAISE_ASK = 3;
    int PRAISE_TOPIC_COMMENT = 4;
    int PRAISE_DYNAMIC_COMMENT = 5;
    int PRAISE_ASK_COMMENT = 6;

    //圈子权限
    int CIRCLE_PERMISSION_MALE = 1;
    int CIRCLE_PERMISSION_FEMALE = 2;
    int CIRCLE_PERMISSION_OPEN = 3;
    int CIRCLE_PERMISSION_MALE_MALE = 4;
    int CIRCLE_PERMISSION_FEMALE_FEMALE = 5;

    //性别
    int SEX_MALE = 1;
    int SEX_FEMALE = 2;

    //性取向
    int SAME_SEX = 1;
    int OPPOSITE_SEX = 2;
    int DOUBLE_SEX = 3;

    //话题聊天类型
    int PRIVATE_TOPIC_CHAT = 1;
    int GROUP_TOPIC_CHAT = 2;

    //话题聊天状态
    int TOPIC_GOING = 1;
    int TOPIC_OVER = 0;

    //举报或反馈类型
    int REPORT_USER = 1;
    int REPORT_GROUP = 2;
    int REPORT_SUGGESTION = 3;

    //弹幕类型:1纯文字；2文字+图片；3文字+语音；4纯图片；5纯语音
    int BARRAGE_TEXT = 1;
    int BARRAGE_IMAGE_TEXT = 2;
    int BARRAGE_VOICE_TEXT = 3;
    int BARRAGE_IMAGE = 4;
    int BARRAGE_VOICE = 5;

    // 标签类型 1我的标签；2我的理想对象标签；3独特爱好标签
    int MY_LABEL = 1;
    int MY_OBJECT = 2;
    int MY_HOBBY = 3;

    //同意拒绝删除好友
    int FRIEND_DEAL_AGREE = 2;
    int FRIEND_DEAL_REFUSE = 3;
    int FRIEND_DEAL_DELETE = 0;

    //刷新类型
    int REFRESH_USER_INFO = 1;//刷新用户信息
    int REFRESH_DELETE_FRIEND = REFRESH_USER_INFO + 1;//刷新删除好友
    int REFRESH_MEMBER_SELECT_COUNT = REFRESH_DELETE_FRIEND + 1;//刷新成员选择数量
    int REFRESH_CLEAR_UNREAD_COUNT = REFRESH_MEMBER_SELECT_COUNT + 1;//刷新并清空未读数量
    int REFRESH_GAME_ROOM_CREATED = REFRESH_CLEAR_UNREAD_COUNT + 1;//游戏房间创建成功
    int REFRESH_COMMENT_SUCCESS = REFRESH_GAME_ROOM_CREATED + 1;//评论成功
    int REFRESH_REPLY_SUCCESS = REFRESH_COMMENT_SUCCESS + 1;//回复成功
    int REFRESH_DYNAMIC_PUBLISH_SUCCESS = REFRESH_REPLY_SUCCESS + 1;//动态发布成功
    int REFRESH_POST_PUBLISH_SUCCESS = REFRESH_DYNAMIC_PUBLISH_SUCCESS + 1;//帖子发布成功

    int GROUP_MEMBER = 0;//群成员
    int GROUP_OWNER = GROUP_MEMBER + 1;//群主

    //圈子特定类型
    int COTERIE_IMAGE_VIDEO = 1;//图片视频
    int COTERIE_ASK = 3;//问答

    //帖子类型
    int POST_USER = 1;
    int POST_PLATFORM = POST_USER + 1;

    //评论类型
    int COMMENT_DEFAULT_TYPE = 0;
    int COMMENT_TEXT_TYPE = 1;
    int COMMENT_VOICE_TYPE = 2;

    //消息内容类型
    int MSG_TEXT_TYPE = 1;
    int MSG_IMAGE_TYPE = 2;
    int MSG_VIDEO = 3;

    //帖子图片或视频类型
    int POST_IMAGE_TYPE = 0;
    int POST_VIDEO_TYPE = POST_IMAGE_TYPE + 1;

    //支付方式
    int PAY_ALI = 1;
    int PAY_WEIXIN = 2;

    //App更新状态
    int APP_CLEAR_UPDATE = -1;
    int APP_NO_UPDATE = 0;
    int APP_UPDATE = 1;

    //特效
    int EFFECT_MASK = 1;
    int EFFECT_GESTURE = 2;

    //消息清空类别
    int MSG_PRAISE_CLEAR = 1;
    int MSG_REPLY_CLEAR = MSG_PRAISE_CLEAR + 1;
    int MSG_ASK_CLEAR = MSG_REPLY_CLEAR + 1;

    //订单类型
    int ORDER_RECHARGE_TYPE = 1;
    int ORDER_GAME_TYPE = ORDER_RECHARGE_TYPE + 1;
    int ORDER_GIFT_TYPE = ORDER_GAME_TYPE + 1;

}
